<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box-big{
            width: 1000px;
            height: 1000px;
            background-color: chocolate;
        }

        .box-small{
            width: 100px;
            height: 200px;
            background: url(./20231017204046.png) center/contain no-repeat;
            animation: boxSmall 2s infinite;
            
        }

        @keyframes boxSmall {
            0%{
                transform: translate(0px,800px) rotate(45deg);
            }
            100%{
                transform: translate(800px,0px) rotate(46deg);
            }
        }
    </style>
</head>
<body>
    <div class="box-big">
        <div class="box-small"></div>
    </div>
</body>
</html>